﻿<%@ Page Title="Contact" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeFile="~/Unit1-Session2.aspx.cs" Inherits="Unit1_Session2" %>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <div>
        <asp:DropDownList ID="cmbTitle" runat="server">
            <asp:ListItem>Mr.</asp:ListItem>
            <asp:ListItem>Mrs.</asp:ListItem>
            <asp:ListItem>Ms.</asp:ListItem>
            <asp:ListItem>Dr.</asp:ListItem>
        </asp:DropDownList>
        <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
        <br />
    <asp:Label ID="lblResult" runat="server" Text=""></asp:Label>
        <br />
        <br />
        <asp:Button ID="btnResult" runat="server" Text="Result" OnClick="btnResult_Click" />
    </div>
</asp:Content>